package com.mybed.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mybed.crm.pojo.pojo.Operation;
import com.mybed.crm.pojo.pojo.OperationDownLoad;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Collection;
import java.util.List;

@Mapper
public interface OperationMapper extends BaseMapper<Operation> {

    /**
     * 查询下载需要的数据
     * @return
     */
    @Select("select oper_name,request_method,oper_url,title,oper_ip,oper_time from tb_operation")
    List<OperationDownLoad> selectDownloda();
}
